using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;

namespace Framework
{
	public static class FrameworkConstant
	{
		// *******************************************************************************************
		// Constants
		// *******************************************************************************************

		/// <summary>Cariage Return + Line Feed</summary>
		public const string CRLF = "\r\n";

		/// <summary>Cariage Return</summary>
		public const string CR = "\r";

		/// <summary>Line Feed</summary>
		public const string LF = "\n";

        /// <summary>Default StringComparer</summary>
        public static readonly StringComparer DEFAULT_COMPARER = StringComparer.Ordinal;

        /// <summary>StringComparer to use when Case Insensitivity is required. There is an article around that suggests a particular comparer, I need to confirm that it is StringComparer.OrdinalIgnoreCase</summary>
		public static readonly StringComparer DEFAULT_COMPARER_IGNORECASE = StringComparer.OrdinalIgnoreCase;

        /// <summary>StringComparison to use when Case Insensitivity is required. There is an article around that suggests a particular comparer, I need to confirm that it is StringComparer.OrdinalIgnoreCase</summary>
        public static readonly StringComparison DEFAULT_COMPARISON = StringComparison.Ordinal;

	    /// <summary>StringComparison to use when Case Insensitivity is required. There is an article around that suggests a particular comparer, I need to confirm that it is StringComparer.OrdinalIgnoreCase</summary>
	    public static readonly StringComparison DEFAULT_COMPARISON_IGNORECASE = StringComparison.OrdinalIgnoreCase;

        public static string DevelopmentDrive
        {
            get { return StrUtil.DefaultValue(Environment.GetEnvironmentVariable("DevDrive"), "C:"); }
        }
        public static string DeveloperName
        {
            get { return StrUtil.DefaultValue(Environment.GetEnvironmentVariable("DevDeveloper")); }
        }
        public static string DevelopmentFolder
        {
            /*For Kien: D:\Google Drive\NUS\Projects\C#\ISSCinePlex\ISSMoviePlex\*/
            /* Environment variable: Key = DevFolder, Value = YOUR_PATH */
            get { return StrUtil.DefaultValue(Environment.GetEnvironmentVariable("DevFolder")); }
        }

    }
}
